package com.ebao.tec.constant;

/**
 * @DESCRIPTION:
 * @Author: WangLt
 * @Date: 2020/8/24
 */
public interface Code {
    /** 请求返回参数 */
    String CODE = "code";
    String DATA = "data";
    String MSG  = "msg";
    String FAIL_OPERATION        = "fail! 操作失败！";
    String SUCCESS_OPERATION     = "success! 操作成功！";

    Integer CODE_SUCCESS         = 200;
    String MSG_SUCCESS           = "success";

    Integer CODE_UNKNOWERROR     = 600;
    String UNKNOWN_ERROR         = "未知异常，请联系管理员";

    Integer CODE_ERROR           = 500;
    String MSG_PARAMETER_INVALID = "参数非法";
    String MSG_NO_SUCH_USER      = "没有此用户";
    String MSG_PASSWORD_ERROR    = "密码错误";
    String MSG_USER_ERROR        = "用户名密码错误";
    String MSG_USERNAME_EXIST    = "用户名已存在";
    String MSG_CATCH_EXCEPTION   = "处理异常";






}
